<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Pet Training Game</title>

</head>
<html>
<body>
<div id="fb-root"></div>
<div id="applet"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script src="deployJava.js"></script>
<script>
  
  function S4() {
    return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
  }
  function guid() {
    return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4());
  }
  var attributes = { 
    code:'eerbaar.v2.client.Applet', 
    width:750, height:550
  }
  var u = 'http://localhost:8888/';
  var parameters = { 
    jnlp_href: u + 'eerbaar2.jnlp', 
    server: u, 
    userid: guid()
  };
    
  document.write = function(data) {applet += data + ' ';};
  deployJava.runApplet(attributes, parameters, '1.6');
  var x=document.getElementById("applet");
  x.innerHTML = applet;
</script>
</body>
</html>
